package com.lagou.rocketmq.task.enumration;


public enum OrderResponseCodeEnum {
    /**已抢完*/
    OUT_OF_STOCK(20001, "已抢完"),
    /**抢购失败*/
    SECKILLING_FAILURE(20002, "抢购失败");

    private Integer code;
    private String desc;

    OrderResponseCodeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
